package com.pactera.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.github.pagehelper.Page;
import com.pactera.model.SysUser;

@Repository
public interface SysUserMapper {
	
    int deleteByPrimaryKey(String id);

    int insert(SysUser record);

    SysUser selectByPrimaryKey(String id);

    List<SysUser> selectAll();

    int updateByPrimaryKey(SysUser record);
    
    SysUser selectByAccout(String account);
    
    SysUser selectByMail(String mail);
    
    SysUser selectByPhone(String phone);
    
    
    Page<SysUser> selectAllByPage();
}